home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Over 1,000 Games
/
1,000 Games - Disk 2.iso
/
mind
/
waktak
/
gsetup.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-03-21
|
442b
|
19 lines
/*****************VGA GRAPHICS SETUP***************/
#include <graphics.h>
void graphics_setup( int background_color )
{
int grdriver = VGA,
grmode = VGAHI;
registerfarbgidriver( EGAVGA_driver_far );
registerfarbgifont( sansserif_font_far );
registerfarbgifont( triplex_font_far );
initgraph( &grdriver, &grmode, "" );
setbkcolor( background_color );
return;
}